{template header}
<body id="index">
<script type="text/javascript" src="{SITE_THEME}js/show.js"></script>
<header>
	<div class="left-box"><a class="goback" href="javascript:history.back()"><label>返回</label></a></div>
	<h1>{$cat['catname']}</h1>
</header>
{template banner}
<div class="current-category">您当前的位置：{$cat['catname']} > 正文</div>
<div id="content">
    <div class="detail-head-title">
        <h1 class="article-title x-centered">{$title}</h1>
        <div class="x-centered post-time">{date('Y-m-d H:i:s', $updatetime)} (<script type="text/javascript" src="{url('api/hits',array('id'=>$id))}"></script>)</div>
    </div>
    <div class="detail-panel">
        <ul>
        <li><span>主　演：</span> {$zhuyan}</li>
        <li><span>导　演：</span> {$daoyan}</li>
        <li><span>类　型：</span> {php $value=string2array($leixing);}{loop $value $t}{$t} {/loop}</li>
		<li><span>分　类：</span> {linkagepos(22, $cid, '')}</li>
        <li><span>地　区：</span> {$diqu}</li>
        <li><span>编　剧：</span> {$bianju}</li>
        <li><span>策　划：</span> {$cehua}</li>
        <li><span>集　数：</span> {$jishu}</li>
        <li><span>上　映：</span> {$shangying}</li>
        </ul>
    </div>
    <div id="deal">
        {php $youku=string2array($youku);}
    	<section class="deal-box">
            <h1 class="tag current">视频播放</h1>
            <div class="tab-box">
            {if isset($param['play']) && $param['play']=='youku' && isset($param['j'])}
				{htmlspecialchars_decode($youku['file'][$param['j']])}
            {else}
				↓ 请在下面的播放列表选择影片播放。
			{/if}
            </div>
        </section>
        {if $youku}
        <section class="deal-box">
            <h1 class="tag current">优酷视频</h1>
            <div class="tab-box">
            {loop $youku['file'] $k=>$t}
            <a href="{url('content/show',array('id'=>$id, 'play'=>'youku', 'j'=>$k))}" {if $param['play']=='youku' && $param['j']==$k} style="font-weight: bold;"{/if}>{$youku['alt'][$k]}</a>    
            {/loop}
            </div>
        </section>
        {/if}
    	<section class="deal-box">
            <h1 class="tag current">简介</h1>
            <div class="tab-box">
            {$content}
            </div>
        </section>
    </div>
    <div id="deals-page" class="">
        <div id="nav-more"><span class="nav-button">返回列表</span></div>
        <div id="nav-top"><span class="nav-button"><label onClick="javascript:scroll(0,0)">回到顶部</label></span></div>
    </div>
</div>
{template footer}